package com.example.warehousems.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;


@Data
public class UserRegisterVO {
    @NotBlank(message = "名字为必填项")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "校验密码不能为空")
    private String checkPassword;

    @NotEmpty(message = "邮箱不能为空")
    private String email;
}
